3.8.42 \(\int \frac {\sqrt {x}}{a+c x^4} \, dx\) [742]

Optimal. Leaf size=287 \[ \frac {\tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\tan ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\log \left (\sqrt [4]{-a}-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\log \left (\sqrt [4]{-a}+\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}} \]

[Out]

1/2*arctan(c^(1/8)*x^(1/2)/(-a)^(1/8))/(-a)^(5/8)/c^(3/8)-1/2*arctanh(c^(1/8)*x^(1/2)/(-a)^(1/8))/(-a)^(5/8)/c
^(3/8)-1/4*arctan(-1+c^(1/8)*2^(1/2)*x^(1/2)/(-a)^(1/8))/(-a)^(5/8)/c^(3/8)*2^(1/2)-1/4*arctan(1+c^(1/8)*2^(1/
2)*x^(1/2)/(-a)^(1/8))/(-a)^(5/8)/c^(3/8)*2^(1/2)-1/8*ln((-a)^(1/4)+c^(1/4)*x-(-a)^(1/8)*c^(1/8)*2^(1/2)*x^(1/
2))/(-a)^(5/8)/c^(3/8)*2^(1/2)+1/8*ln((-a)^(1/4)+c^(1/4)*x+(-a)^(1/8)*c^(1/8)*2^(1/2)*x^(1/2))/(-a)^(5/8)/c^(3
/8)*2^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.17, antiderivative size = 287, normalized size of antiderivative = 1.00, number of steps used = 14, number of rules used = 11, integrand size = 15, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.733, Rules used = {335, 306, 303, 1176, 631, 210, 1179, 642, 304, 211, 214} \begin {gather*} \frac {\text {ArcTan}\left (1-\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\text {ArcTan}\left (\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}+1\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\text {ArcTan}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\log \left (-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{-a}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\log \left (\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{-a}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sqrt[x]/(a + c*x^4),x]

[Out]

ArcTan[1 - (Sqrt[2]*c^(1/8)*Sqrt[x])/(-a)^(1/8)]/(2*Sqrt[2]*(-a)^(5/8)*c^(3/8)) - ArcTan[1 + (Sqrt[2]*c^(1/8)*
Sqrt[x])/(-a)^(1/8)]/(2*Sqrt[2]*(-a)^(5/8)*c^(3/8)) + ArcTan[(c^(1/8)*Sqrt[x])/(-a)^(1/8)]/(2*(-a)^(5/8)*c^(3/
8)) - ArcTanh[(c^(1/8)*Sqrt[x])/(-a)^(1/8)]/(2*(-a)^(5/8)*c^(3/8)) - Log[(-a)^(1/4) - Sqrt[2]*(-a)^(1/8)*c^(1/
8)*Sqrt[x] + c^(1/4)*x]/(4*Sqrt[2]*(-a)^(5/8)*c^(3/8)) + Log[(-a)^(1/4) + Sqrt[2]*(-a)^(1/8)*c^(1/8)*Sqrt[x] +
 c^(1/4)*x]/(4*Sqrt[2]*(-a)^(5/8)*c^(3/8))

Rule 210

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(-(Rt[-a, 2]*Rt[-b, 2])^(-1))*ArcTan[Rt[-b, 2]*(x/Rt[-a, 2])
], x] /; FreeQ[{a, b}, x] && PosQ[a/b] && (LtQ[a, 0] || LtQ[b, 0])

Rule 211

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[a/b, 2]/a)*ArcTan[x/Rt[a/b, 2]], x] /; FreeQ[{a, b}, x]
&& PosQ[a/b]

Rule 214

Int[((a_) + (b_.)*(x_)^2)^(-1), x_Symbol] :> Simp[(Rt[-a/b, 2]/a)*ArcTanh[x/Rt[-a/b, 2]], x] /; FreeQ[{a, b},
x] && NegQ[a/b]

Rule 303

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[a/b, 2]], s = Denominator[Rt[a/b, 2]]},
Dist[1/(2*s), Int[(r + s*x^2)/(a + b*x^4), x], x] - Dist[1/(2*s), Int[(r - s*x^2)/(a + b*x^4), x], x]] /; Free
Q[{a, b}, x] && (GtQ[a/b, 0] || (PosQ[a/b] && AtomQ[SplitProduct[SumBaseQ, a]] && AtomQ[SplitProduct[SumBaseQ,
 b]]))

Rule 304

Int[(x_)^2/((a_) + (b_.)*(x_)^4), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b, 2]]}
, Dist[s/(2*b), Int[1/(r + s*x^2), x], x] - Dist[s/(2*b), Int[1/(r - s*x^2), x], x]] /; FreeQ[{a, b}, x] &&  !
GtQ[a/b, 0]

Rule 306

Int[(x_)^(m_)/((a_) + (b_.)*(x_)^(n_)), x_Symbol] :> With[{r = Numerator[Rt[-a/b, 2]], s = Denominator[Rt[-a/b
, 2]]}, Dist[r/(2*a), Int[x^m/(r + s*x^(n/2)), x], x] + Dist[r/(2*a), Int[x^m/(r - s*x^(n/2)), x], x]] /; Free
Q[{a, b}, x] && IGtQ[n/4, 0] && IGtQ[m, 0] && LtQ[m, n/2] &&  !GtQ[a/b, 0]

Rule 335

Int[((c_.)*(x_))^(m_)*((a_) + (b_.)*(x_)^(n_))^(p_), x_Symbol] :> With[{k = Denominator[m]}, Dist[k/c, Subst[I
nt[x^(k*(m + 1) - 1)*(a + b*(x^(k*n)/c^n))^p, x], x, (c*x)^(1/k)], x]] /; FreeQ[{a, b, c, p}, x] && IGtQ[n, 0]
 && FractionQ[m] && IntBinomialQ[a, b, c, n, m, p, x]

Rule 631

Int[((a_) + (b_.)*(x_) + (c_.)*(x_)^2)^(-1), x_Symbol] :> With[{q = 1 - 4*Simplify[a*(c/b^2)]}, Dist[-2/b, Sub
st[Int[1/(q - x^2), x], x, 1 + 2*c*(x/b)], x] /; RationalQ[q] && (EqQ[q^2, 1] ||  !RationalQ[b^2 - 4*a*c])] /;
 FreeQ[{a, b, c}, x] && NeQ[b^2 - 4*a*c, 0]

Rule 642

Int[((d_) + (e_.)*(x_))/((a_.) + (b_.)*(x_) + (c_.)*(x_)^2), x_Symbol] :> Simp[d*(Log[RemoveContent[a + b*x +
c*x^2, x]]/b), x] /; FreeQ[{a, b, c, d, e}, x] && EqQ[2*c*d - b*e, 0]

Rule 1176

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[2*(d/e), 2]}, Dist[e/(2*c), Int[1/S
imp[d/e + q*x + x^2, x], x], x] + Dist[e/(2*c), Int[1/Simp[d/e - q*x + x^2, x], x], x]] /; FreeQ[{a, c, d, e},
 x] && EqQ[c*d^2 - a*e^2, 0] && PosQ[d*e]

Rule 1179

Int[((d_) + (e_.)*(x_)^2)/((a_) + (c_.)*(x_)^4), x_Symbol] :> With[{q = Rt[-2*(d/e), 2]}, Dist[e/(2*c*q), Int[
(q - 2*x)/Simp[d/e + q*x - x^2, x], x], x] + Dist[e/(2*c*q), Int[(q + 2*x)/Simp[d/e - q*x - x^2, x], x], x]] /
; FreeQ[{a, c, d, e}, x] && EqQ[c*d^2 - a*e^2, 0] && NegQ[d*e]

Rubi steps

\begin {align*} \int \frac {\sqrt {x}}{a+c x^4} \, dx &=2 \text {Subst}\left (\int \frac {x^2}{a+c x^8} \, dx,x,\sqrt {x}\right )\\ &=-\frac {\text {Subst}\left (\int \frac {x^2}{\sqrt {-a}-\sqrt {c} x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {-a}}-\frac {\text {Subst}\left (\int \frac {x^2}{\sqrt {-a}+\sqrt {c} x^4} \, dx,x,\sqrt {x}\right )}{\sqrt {-a}}\\ &=-\frac {\text {Subst}\left (\int \frac {1}{\sqrt [4]{-a}-\sqrt [4]{c} x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {-a} \sqrt [4]{c}}+\frac {\text {Subst}\left (\int \frac {1}{\sqrt [4]{-a}+\sqrt [4]{c} x^2} \, dx,x,\sqrt {x}\right )}{2 \sqrt {-a} \sqrt [4]{c}}+\frac {\text {Subst}\left (\int \frac {\sqrt [4]{-a}-\sqrt [4]{c} x^2}{\sqrt {-a}+\sqrt {c} x^4} \, dx,x,\sqrt {x}\right )}{2 \sqrt {-a} \sqrt [4]{c}}-\frac {\text {Subst}\left (\int \frac {\sqrt [4]{-a}+\sqrt [4]{c} x^2}{\sqrt {-a}+\sqrt {c} x^4} \, dx,x,\sqrt {x}\right )}{2 \sqrt {-a} \sqrt [4]{c}}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\text {Subst}\left (\int \frac {1}{\frac {\sqrt [4]{-a}}{\sqrt [4]{c}}-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{c}}+x^2} \, dx,x,\sqrt {x}\right )}{4 \sqrt {-a} \sqrt {c}}-\frac {\text {Subst}\left (\int \frac {1}{\frac {\sqrt [4]{-a}}{\sqrt [4]{c}}+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{c}}+x^2} \, dx,x,\sqrt {x}\right )}{4 \sqrt {-a} \sqrt {c}}-\frac {\text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [8]{-a}}{\sqrt [8]{c}}+2 x}{-\frac {\sqrt [4]{-a}}{\sqrt [4]{c}}-\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{c}}-x^2} \, dx,x,\sqrt {x}\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\text {Subst}\left (\int \frac {\frac {\sqrt {2} \sqrt [8]{-a}}{\sqrt [8]{c}}-2 x}{-\frac {\sqrt [4]{-a}}{\sqrt [4]{c}}+\frac {\sqrt {2} \sqrt [8]{-a} x}{\sqrt [8]{c}}-x^2} \, dx,x,\sqrt {x}\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}\\ &=\frac {\tan ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\log \left (\sqrt [4]{-a}-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\log \left (\sqrt [4]{-a}+\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1-\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\text {Subst}\left (\int \frac {1}{-1-x^2} \, dx,x,1+\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}\\ &=\frac {\tan ^{-1}\left (1-\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}-\frac {\tan ^{-1}\left (1+\frac {\sqrt {2} \sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\tan ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\tanh ^{-1}\left (\frac {\sqrt [8]{c} \sqrt {x}}{\sqrt [8]{-a}}\right )}{2 (-a)^{5/8} c^{3/8}}-\frac {\log \left (\sqrt [4]{-a}-\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}+\frac {\log \left (\sqrt [4]{-a}+\sqrt {2} \sqrt [8]{-a} \sqrt [8]{c} \sqrt {x}+\sqrt [4]{c} x\right )}{4 \sqrt {2} (-a)^{5/8} c^{3/8}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.66, size = 239, normalized size = 0.83 \begin {gather*} \frac {\sqrt {2-\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {1-\frac {1}{\sqrt {2}}} \left (\sqrt [4]{a}-\sqrt [4]{c} x\right )}{\sqrt [8]{a} \sqrt [8]{c} \sqrt {x}}\right )-\sqrt {2+\sqrt {2}} \tan ^{-1}\left (\frac {\sqrt {1+\frac {1}{\sqrt {2}}} \left (\sqrt [4]{a}-\sqrt [4]{c} x\right )}{\sqrt [8]{a} \sqrt [8]{c} \sqrt {x}}\right )+\sqrt {2-\sqrt {2}} \tanh ^{-1}\left (\frac {\sqrt {2+\sqrt {2}} \sqrt [8]{a} \sqrt [8]{c} \sqrt {x}}{\sqrt [4]{a}+\sqrt [4]{c} x}\right )-\sqrt {2+\sqrt {2}} \tanh ^{-1}\left (\frac {\sqrt [8]{a} \sqrt [8]{c} \sqrt {-\left (\left (-2+\sqrt {2}\right ) x\right )}}{\sqrt [4]{a}+\sqrt [4]{c} x}\right )}{4 a^{5/8} c^{3/8}} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sqrt[x]/(a + c*x^4),x]

[Out]

(Sqrt[2 - Sqrt[2]]*ArcTan[(Sqrt[1 - 1/Sqrt[2]]*(a^(1/4) - c^(1/4)*x))/(a^(1/8)*c^(1/8)*Sqrt[x])] - Sqrt[2 + Sq
rt[2]]*ArcTan[(Sqrt[1 + 1/Sqrt[2]]*(a^(1/4) - c^(1/4)*x))/(a^(1/8)*c^(1/8)*Sqrt[x])] + Sqrt[2 - Sqrt[2]]*ArcTa
nh[(Sqrt[2 + Sqrt[2]]*a^(1/8)*c^(1/8)*Sqrt[x])/(a^(1/4) + c^(1/4)*x)] - Sqrt[2 + Sqrt[2]]*ArcTanh[(a^(1/8)*c^(
1/8)*Sqrt[-((-2 + Sqrt[2])*x)])/(a^(1/4) + c^(1/4)*x)])/(4*a^(5/8)*c^(3/8))

________________________________________________________________________________________

Maple [C] Result contains higher order function than in optimal. Order 9 vs. order 3.
time = 0.16, size = 29, normalized size = 0.10

method result size
derivativedivides \(\frac {\munderset {\textit {\_R} =\RootOf \left (c \,\textit {\_Z}^{8}+a \right )}{\sum }\frac {\ln \left (\sqrt {x}-\textit {\_R} \right )}{\textit {\_R}^{5}}}{4 c}\) \(29\)
default \(\frac {\munderset {\textit {\_R} =\RootOf \left (c \,\textit {\_Z}^{8}+a \right )}{\sum }\frac {\ln \left (\sqrt {x}-\textit {\_R} \right )}{\textit {\_R}^{5}}}{4 c}\) \(29\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1/2)/(c*x^4+a),x,method=_RETURNVERBOSE)

[Out]

1/4/c*sum(1/_R^5*ln(x^(1/2)-_R),_R=RootOf(_Z^8*c+a))

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)/(c*x^4+a),x, algorithm="maxima")

[Out]

integrate(sqrt(x)/(c*x^4 + a), x)

________________________________________________________________________________________

Fricas [B] Leaf count of result is larger than twice the leaf count of optimal. 460 vs. \(2 (190) = 380\).
time = 0.39, size = 460, normalized size = 1.60 \begin {gather*} -\frac {1}{2} \, \sqrt {2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \arctan \left (\sqrt {2} \sqrt {a^{4} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{4}} + \sqrt {2} a^{2} c \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + x} a^{3} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}} - \sqrt {2} a^{3} c^{2} \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}} + 1\right ) - \frac {1}{2} \, \sqrt {2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \arctan \left (\sqrt {2} \sqrt {a^{4} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{4}} - \sqrt {2} a^{2} c \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + x} a^{3} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}} - \sqrt {2} a^{3} c^{2} \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}} - 1\right ) + \frac {1}{8} \, \sqrt {2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \log \left (a^{4} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{4}} + \sqrt {2} a^{2} c \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + x\right ) - \frac {1}{8} \, \sqrt {2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \log \left (a^{4} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{4}} - \sqrt {2} a^{2} c \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + x\right ) + \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \arctan \left (\sqrt {a^{4} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{4}} + x} a^{3} c^{2} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}} - a^{3} c^{2} \sqrt {x} \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {5}{8}}\right ) - \frac {1}{4} \, \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \log \left (a^{2} c \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + \sqrt {x}\right ) + \frac {1}{4} \, \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {1}{8}} \log \left (-a^{2} c \left (-\frac {1}{a^{5} c^{3}}\right )^{\frac {3}{8}} + \sqrt {x}\right ) \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)/(c*x^4+a),x, algorithm="fricas")

[Out]

-1/2*sqrt(2)*(-1/(a^5*c^3))^(1/8)*arctan(sqrt(2)*sqrt(a^4*c^2*(-1/(a^5*c^3))^(3/4) + sqrt(2)*a^2*c*sqrt(x)*(-1
/(a^5*c^3))^(3/8) + x)*a^3*c^2*(-1/(a^5*c^3))^(5/8) - sqrt(2)*a^3*c^2*sqrt(x)*(-1/(a^5*c^3))^(5/8) + 1) - 1/2*
sqrt(2)*(-1/(a^5*c^3))^(1/8)*arctan(sqrt(2)*sqrt(a^4*c^2*(-1/(a^5*c^3))^(3/4) - sqrt(2)*a^2*c*sqrt(x)*(-1/(a^5
*c^3))^(3/8) + x)*a^3*c^2*(-1/(a^5*c^3))^(5/8) - sqrt(2)*a^3*c^2*sqrt(x)*(-1/(a^5*c^3))^(5/8) - 1) + 1/8*sqrt(
2)*(-1/(a^5*c^3))^(1/8)*log(a^4*c^2*(-1/(a^5*c^3))^(3/4) + sqrt(2)*a^2*c*sqrt(x)*(-1/(a^5*c^3))^(3/8) + x) - 1
/8*sqrt(2)*(-1/(a^5*c^3))^(1/8)*log(a^4*c^2*(-1/(a^5*c^3))^(3/4) - sqrt(2)*a^2*c*sqrt(x)*(-1/(a^5*c^3))^(3/8)
+ x) + (-1/(a^5*c^3))^(1/8)*arctan(sqrt(a^4*c^2*(-1/(a^5*c^3))^(3/4) + x)*a^3*c^2*(-1/(a^5*c^3))^(5/8) - a^3*c
^2*sqrt(x)*(-1/(a^5*c^3))^(5/8)) - 1/4*(-1/(a^5*c^3))^(1/8)*log(a^2*c*(-1/(a^5*c^3))^(3/8) + sqrt(x)) + 1/4*(-
1/(a^5*c^3))^(1/8)*log(-a^2*c*(-1/(a^5*c^3))^(3/8) + sqrt(x))

________________________________________________________________________________________

Sympy [A]
time = 8.48, size = 291, normalized size = 1.01 \begin {gather*} \begin {cases} \frac {\tilde {\infty }}{x^{\frac {5}{2}}} & \text {for}\: a = 0 \wedge c = 0 \\- \frac {2}{5 c x^{\frac {5}{2}}} & \text {for}\: a = 0 \\\frac {2 x^{\frac {3}{2}}}{3 a} & \text {for}\: c = 0 \\- \frac {\left (- \frac {a}{c}\right )^{\frac {3}{8}} \log {\left (\sqrt {x} - \sqrt [8]{- \frac {a}{c}} \right )}}{4 a} + \frac {\left (- \frac {a}{c}\right )^{\frac {3}{8}} \log {\left (\sqrt {x} + \sqrt [8]{- \frac {a}{c}} \right )}}{4 a} + \frac {\sqrt {2} \left (- \frac {a}{c}\right )^{\frac {3}{8}} \log {\left (- 4 \sqrt {2} \sqrt {x} \sqrt [8]{- \frac {a}{c}} + 4 x + 4 \sqrt [4]{- \frac {a}{c}} \right )}}{8 a} - \frac {\sqrt {2} \left (- \frac {a}{c}\right )^{\frac {3}{8}} \log {\left (4 \sqrt {2} \sqrt {x} \sqrt [8]{- \frac {a}{c}} + 4 x + 4 \sqrt [4]{- \frac {a}{c}} \right )}}{8 a} - \frac {\left (- \frac {a}{c}\right )^{\frac {3}{8}} \operatorname {atan}{\left (\frac {\sqrt {x}}{\sqrt [8]{- \frac {a}{c}}} \right )}}{2 a} + \frac {\sqrt {2} \left (- \frac {a}{c}\right )^{\frac {3}{8}} \operatorname {atan}{\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt [8]{- \frac {a}{c}}} - 1 \right )}}{4 a} + \frac {\sqrt {2} \left (- \frac {a}{c}\right )^{\frac {3}{8}} \operatorname {atan}{\left (\frac {\sqrt {2} \sqrt {x}}{\sqrt [8]{- \frac {a}{c}}} + 1 \right )}}{4 a} & \text {otherwise} \end {cases} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x**(1/2)/(c*x**4+a),x)

[Out]

Piecewise((zoo/x**(5/2), Eq(a, 0) & Eq(c, 0)), (-2/(5*c*x**(5/2)), Eq(a, 0)), (2*x**(3/2)/(3*a), Eq(c, 0)), (-
(-a/c)**(3/8)*log(sqrt(x) - (-a/c)**(1/8))/(4*a) + (-a/c)**(3/8)*log(sqrt(x) + (-a/c)**(1/8))/(4*a) + sqrt(2)*
(-a/c)**(3/8)*log(-4*sqrt(2)*sqrt(x)*(-a/c)**(1/8) + 4*x + 4*(-a/c)**(1/4))/(8*a) - sqrt(2)*(-a/c)**(3/8)*log(
4*sqrt(2)*sqrt(x)*(-a/c)**(1/8) + 4*x + 4*(-a/c)**(1/4))/(8*a) - (-a/c)**(3/8)*atan(sqrt(x)/(-a/c)**(1/8))/(2*
a) + sqrt(2)*(-a/c)**(3/8)*atan(sqrt(2)*sqrt(x)/(-a/c)**(1/8) - 1)/(4*a) + sqrt(2)*(-a/c)**(3/8)*atan(sqrt(2)*
sqrt(x)/(-a/c)**(1/8) + 1)/(4*a), True))

________________________________________________________________________________________

Giac [B] Leaf count of result is larger than twice the leaf count of optimal. 445 vs. \(2 (190) = 380\).
time = 1.20, size = 445, normalized size = 1.55 \begin {gather*} -\frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \arctan \left (\frac {\sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + 2 \, \sqrt {x}}{\sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}}}\right )}{2 \, a \sqrt {2 \, \sqrt {2} + 4}} - \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \arctan \left (-\frac {\sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} - 2 \, \sqrt {x}}{\sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}}}\right )}{2 \, a \sqrt {2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \arctan \left (\frac {\sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + 2 \, \sqrt {x}}{\sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}}}\right )}{2 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \arctan \left (-\frac {\sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} - 2 \, \sqrt {x}}{\sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}}}\right )}{2 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \log \left (\sqrt {x} \sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + x + \left (\frac {a}{c}\right )^{\frac {1}{4}}\right )}{4 \, a \sqrt {2 \, \sqrt {2} + 4}} - \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \log \left (-\sqrt {x} \sqrt {\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + x + \left (\frac {a}{c}\right )^{\frac {1}{4}}\right )}{4 \, a \sqrt {2 \, \sqrt {2} + 4}} - \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \log \left (\sqrt {x} \sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + x + \left (\frac {a}{c}\right )^{\frac {1}{4}}\right )}{4 \, a \sqrt {-2 \, \sqrt {2} + 4}} + \frac {\left (\frac {a}{c}\right )^{\frac {3}{8}} \log \left (-\sqrt {x} \sqrt {-\sqrt {2} + 2} \left (\frac {a}{c}\right )^{\frac {1}{8}} + x + \left (\frac {a}{c}\right )^{\frac {1}{4}}\right )}{4 \, a \sqrt {-2 \, \sqrt {2} + 4}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(x^(1/2)/(c*x^4+a),x, algorithm="giac")

[Out]

-1/2*(a/c)^(3/8)*arctan((sqrt(-sqrt(2) + 2)*(a/c)^(1/8) + 2*sqrt(x))/(sqrt(sqrt(2) + 2)*(a/c)^(1/8)))/(a*sqrt(
2*sqrt(2) + 4)) - 1/2*(a/c)^(3/8)*arctan(-(sqrt(-sqrt(2) + 2)*(a/c)^(1/8) - 2*sqrt(x))/(sqrt(sqrt(2) + 2)*(a/c
)^(1/8)))/(a*sqrt(2*sqrt(2) + 4)) + 1/2*(a/c)^(3/8)*arctan((sqrt(sqrt(2) + 2)*(a/c)^(1/8) + 2*sqrt(x))/(sqrt(-
sqrt(2) + 2)*(a/c)^(1/8)))/(a*sqrt(-2*sqrt(2) + 4)) + 1/2*(a/c)^(3/8)*arctan(-(sqrt(sqrt(2) + 2)*(a/c)^(1/8) -
 2*sqrt(x))/(sqrt(-sqrt(2) + 2)*(a/c)^(1/8)))/(a*sqrt(-2*sqrt(2) + 4)) + 1/4*(a/c)^(3/8)*log(sqrt(x)*sqrt(sqrt
(2) + 2)*(a/c)^(1/8) + x + (a/c)^(1/4))/(a*sqrt(2*sqrt(2) + 4)) - 1/4*(a/c)^(3/8)*log(-sqrt(x)*sqrt(sqrt(2) +
2)*(a/c)^(1/8) + x + (a/c)^(1/4))/(a*sqrt(2*sqrt(2) + 4)) - 1/4*(a/c)^(3/8)*log(sqrt(x)*sqrt(-sqrt(2) + 2)*(a/
c)^(1/8) + x + (a/c)^(1/4))/(a*sqrt(-2*sqrt(2) + 4)) + 1/4*(a/c)^(3/8)*log(-sqrt(x)*sqrt(-sqrt(2) + 2)*(a/c)^(
1/8) + x + (a/c)^(1/4))/(a*sqrt(-2*sqrt(2) + 4))

________________________________________________________________________________________

Mupad [B]
time = 0.13, size = 118, normalized size = 0.41 \begin {gather*} \frac {\mathrm {atan}\left (\frac {c^{1/8}\,\sqrt {x}}{{\left (-a\right )}^{1/8}}\right )}{2\,{\left (-a\right )}^{5/8}\,c^{3/8}}+\frac {\mathrm {atan}\left (\frac {c^{1/8}\,\sqrt {x}\,1{}\mathrm {i}}{{\left (-a\right )}^{1/8}}\right )\,1{}\mathrm {i}}{2\,{\left (-a\right )}^{5/8}\,c^{3/8}}+\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,c^{1/8}\,\sqrt {x}\,\left (\frac {1}{2}-\frac {1}{2}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}}\right )\,\left (-\frac {1}{4}+\frac {1}{4}{}\mathrm {i}\right )}{{\left (-a\right )}^{5/8}\,c^{3/8}}+\frac {\sqrt {2}\,\mathrm {atan}\left (\frac {\sqrt {2}\,c^{1/8}\,\sqrt {x}\,\left (\frac {1}{2}+\frac {1}{2}{}\mathrm {i}\right )}{{\left (-a\right )}^{1/8}}\right )\,\left (-\frac {1}{4}-\frac {1}{4}{}\mathrm {i}\right )}{{\left (-a\right )}^{5/8}\,c^{3/8}} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(x^(1/2)/(a + c*x^4),x)

[Out]

atan((c^(1/8)*x^(1/2))/(-a)^(1/8))/(2*(-a)^(5/8)*c^(3/8)) + (atan((c^(1/8)*x^(1/2)*1i)/(-a)^(1/8))*1i)/(2*(-a)
^(5/8)*c^(3/8)) - (2^(1/2)*atan((2^(1/2)*c^(1/8)*x^(1/2)*(1/2 - 1i/2))/(-a)^(1/8))*(1/4 - 1i/4))/((-a)^(5/8)*c
^(3/8)) - (2^(1/2)*atan((2^(1/2)*c^(1/8)*x^(1/2)*(1/2 + 1i/2))/(-a)^(1/8))*(1/4 + 1i/4))/((-a)^(5/8)*c^(3/8))

________________________________________________________________________________________